@extends('_layouts.blank')

@section('page-level-styles')
{{ HTML::style('assets/global/plugins/bootstrap-modal/css/bootstrap-modal-bs3patch.css') }}
{{ HTML::style('assets/global/plugins/bootstrap-modal/css/bootstrap-modal.css') }}
@stop

@section('page-level-plugins')
{{ HTML::script('assets/global/plugins/bootstrap-modal/js/bootstrap-modalmanager.js') }}
{{ HTML::script('assets/global/plugins/bootstrap-modal/js/bootstrap-modal.js') }}
@stop

@section('page-level-script')
{{ HTML::script('assets/admin/pages/scripts/review.js') }}
@stop

@section('jquery-document-ready')
Review.init();
@stop

@section('page-content')
<input type="hidden" class="url-data" value="{{ route('review-load-user') }}" />
<div id="ajax-modal" class="modal fade modal-scroll" tabindex="-1"></div>
<div class="row margin-bottom-5 filter-bar">
    <div class="col-md-12">
        <select name="course" id="course" data-href="{{route('review-page')}}" class="form-control input-inline margin-bottom-5">
            @foreach ($Options['COURSE'] as $Object )
            <option value="{{ $Object->key }}" {{$iCourse == $Object->key ? 'selected': null}}>{{ trans('classes.course') }} {{ $Object->key }}</option>
            @endforeach
        </select>
        <select name="class_id" id="class_id" class="form-control input-inline margin-bottom-5">
            @foreach ($aClasses as $oClasses )
            <option value="{{ $oClasses->id }}">{{ $oClasses->generateClassName(true) }}</option>
            @endforeach
        </select>
    </div>
</div>
<div class="table-responsive table-content table-scrollable"></div>
@stop